import React from 'react';
import { FixedButtonC, PrimaryC, PrimaryGhostC } from '../../components';

class FixedButton extends React.Component {
  tiaozhuan = () => {
    window.location.href = 'http://eip.htsc.com.cn/';
  };

  render() {
    return (
      <div style={{ padding: '0 20px' }}>
        <FixedButtonC
          topHtml={<iframe src='http://localhost:7100/about' width='100%' height='400' />}
          bottomHtml={
            <div style={{ width: '100%', textAlign: 'right' }}>
              <PrimaryGhostC
                title={'取消'}
                onClick={(e) => {
                  console.log('e', e);
                }}
              />
              <PrimaryC title={'确定'} onClick={() => {}} />
            </div>
          }
        />
      </div>
    );
  }
}

export default FixedButton;
